<!--${_TPL.put('titles', ('留言'))}-->
<!--$embed{"header.htm"}-->

<!--$if{ space['self']}-->
<h2 class="title"><img src="image/icon/wall.gif">留言板</h2>
<!--$else-->
<!--${_TPL.put("spacetitle","留言")}-->
<!--$embed{"space_menu.htm"}-->
<!--$end-->

<div class="box_action">
	<h2 class="title l_status">给<!--$if{ space['self']}-->自己<!--$else-->${_SN[space['uid']]}<!--$end-->留言</h2>
</div>
<div class="space_wall_post">
	<form action="cp.html?ac=comment" id="commentform_${space['uid']}" name="commentform_${space['uid']}" method="post">
		<a href="###" id="message_face" onclick="showFace(this.id, 'comment_message');"><img src="image/facelist.gif" align="absmiddle" /></a><br>
		<textarea name="message" id="comment_message" rows="5" cols="60" onkeydown="ctrlEnter(event, 'commentsubmit_btn');"></textarea>
		<input type="hidden" name="refer" value="space.html?uid=${space['uid']}" />
		<input type="hidden" name="id" value="${space['uid']}" />
		<input type="hidden" name="idtype" value="uid" />
		<input type="hidden" name="commentsubmit" value="true" />
		<br>
		<input type="button" id="commentsubmit_btn" name="commentsubmit_btn" class="submit" value="留言" onclick="ajaxpost('commentform_${space['uid']}', 'comment_status', 'wall_add')" />
		<span id="comment_status"></span>
		<input type="hidden" name="formhash" value="<!--${&com.heaven.web.utils.Common.formhash()}-->" />
	</form>
</div>
<br>
<div class="comments_list" id="comment">

	<!--$if{ cid}-->
	<div class="notice">
		当前只显示与你操作相关的单个留言，<a href="space.html?uid=${space['uid']}&do=wall">点击此处查看全部留言</a>
	</div>
	<!--$end-->

	<ul id="comment_ul">
	<!--$for{value:list}-->
		<!--$embed{"space_comment_li.htm"}-->
	<!--$end-->
	</ul>
</div>
<div class="page">${multi}</div>

<!--$embed{"footer.htm"}-->